package cn.jvtc.course.management.system.bean;

import java.util.Date;

/**
 * 课程表对应的数据对象，数据库映射实体
 *
 * @author GaoFeng2017
 * @date 2017-12-10 23:11:17
 **/

public class ClassInfoDO {
    private long id;
    private Date createTime;
    private Date modifiedTime;
    private String name;
    private short grade;

    public ClassInfoDO() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public short getGrade() {
        return grade;
    }

    public void setGrade(short grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "ClassInfoDO{" +
                "id='" + id + '\'' +
                ", createTime=" + createTime +
                ", modifiedTime=" + modifiedTime +
                ", name='" + name + '\'' +
                ", grade=" + grade +
                '}';
    }
}
